package cn.getech.data.development.model.res.confconnect;

import cn.getech.data.development.entity.TableRelationshipEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(description = "字段信息")
@Data
public class TableField {
    @ApiModelProperty(value = "字段名称")
    private String fieldName;
    @ApiModelProperty(value = "字段类型")
    private String fieldType;
    @ApiModelProperty(value = "字段描述")
    private String fieldAlias;
    @ApiModelProperty(value = "分区")
    private Integer isPartition;
    @ApiModelProperty(value = "排序")
    private Integer fieldOrder;
    @ApiModelProperty(value = "主键")
    private Integer primaryKey;
    @ApiModelProperty(value = "血缘")
    private List<TableRelationshipEntity> relationshipes;
}
